Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Nov 28, 2025

Description

  • Fix these warnings:
make test
docker compose run --rm web ./manage.py test
[+] Creating 2/0
 ✔ Container pythondotorg-redis-1     Running                                                0.0s
 ✔ Container pythondotorg-postgres-1  Running                                                0.0s
/usr/local/lib/python3.12/site-packages/haystack/__init__.py:4: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import DistributionNotFound, get_distribution, parse_version
Found 640 test(s).
Creating test database for alias 'default'...
System check identified some issues:

WARNINGS:
SponsorshipBenefit: (ordered_model.W003) OrderedModelBase subclass has a ModelManager that does not inherit from OrderedModelManager. This is not ideal but will work.
SponsorshipPackage: (ordered_model.W003) OrderedModelBase subclass has a ModelManager that does not inherit from OrderedModelManager. This is not ideal but will work.

System check identified 2 issues (0 silenced).
.............................................................

Closes

@hugovk hugovk added the app/sponsors Relates to the sponsors app label Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app/sponsors Relates to the sponsors app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests: Investigate OrderedModelManager warning for Sponsor models

1 participant